﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="AddPicture.aspx.vb" Inherits="Macrography.AddPicture" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        #TextArea1
        {
            height: 39px;
            width: 188px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
    <p>
        &nbsp;</p>
       
        
    <p>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>
   
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="lblUserName" runat="server" Text="User Name"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:LoginName ID="LoginName2" runat="server" />
   
            <br /><br />

      
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="LblCategry" runat="server" Text="Select Category"></asp:Label> 
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="Catdropdown" runat="server" 
        DataSourceID="SqlDataSource1" DataTextField="Cat_Name" DataValueField="Cat_Id">
    </asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:MacrgraphyConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:MacrgraphyConnectionString.ProviderName %>" 
        SelectCommand="SELECT [Cat_Id], [Cat_Name], [Description] FROM [Categories]">
    </asp:SqlDataSource>
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TxtDate" runat="server"></asp:TextBox>
  
   
        &nbsp;
    <br />
    <br />
    <br />
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Upload Picture  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:FileUpload ID="Pic_Upload" runat="server" style="margin-bottom: 0px" />
    <br />
   <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Description
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <asp:TextBox ID="TxtDescription" runat="server" TextMode="MultiLine"></asp:TextBox>
    <br />
    <br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Location &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="TxtLoc" runat="server"></asp:TextBox>
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <br />
    <br />
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Camera &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="TxtCam" runat="server"></asp:TextBox>
    <br />
    <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <p style="margin-left: 200px">
        <asp:Button ID="Uploadbtn" runat="server" Text="Upload" />
    </p>
   
    <p>
    </p>
</asp:Content>
